package org.example;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
//import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

//@EnableEurekaClient : 开启eureka客户端   服务启动自动完成注册
//@EnableDiscoveryClient : 启动服务注册功能，开启服务发现
@SpringBootApplication
//@EnableEurekaClient
@MapperScan("org.example.mapper")
//@ComponentScan(basePackages ={"com.google.code" })
@EnableSwagger2
@EnableDiscoveryClient
public class ProviderUser_8001 {

    public static void main(String[] args) {
        SpringApplication.run(ProviderUser_8001.class, args);
    }

}
